Bash Cookbook: Leverage Bash scripting to automate daily tasks and improve productivity by Ron Brash & Ganesh Naik

Bash Cookbook: Leverage Bash scripting to automate daily tasks and improve productivity by Ron Brash & Ganesh Naik

Author:Ron Brash & Ganesh Naik [Brash, Ron]
Language: eng
Format: epub
Tags: COM046030 - COMPUTERS / Operating Systems / UNIX, COM088010 - COMPUTERS / System Administration / Linux and UNIX Administration, COM088000 - COMPUTERS / System Administration / General
Publisher: Packt Publishing
Published: 2018-07-30T23:00:00+00:00


Please be aware that your platform may not support all of GNU find's features. This may be the case with limited shells for embedding, resource constraints, or security reasons.

Getting ready

Besides having a terminal open, several large text files are needed for this recipe. If you have some already, great; if not, install the following:

$ sudo apt-get install locate manpages manpages-posix

$ sudo updatedb

$ git clone https://github.com/PacktPublishing/Linux-Device-Drivers-Development.git Linux-Device-Drivers-Development # Another Packt title

$ mkdir -p ~/emptydir/makesure

If a file is not found using the locate command, the database might be simply out of date and needs to be re-ran. It is possible that updatedb is also not indexing partitions such as those contained on removable media (USB sticks), and the file may be present there instead of the regular system partitions.

In preparation for this recipe, be aware that two concepts were inadvertently introduced: git and manpages. Manpages are among one of the oldest forms of help documentation available in Linux, and git is a version control system that simplifies management, versioning, and distribution of files such as code. Knowing how to use either is certainly beneficial, but beyond the scope of this book. For more information about git, check out another Packt book: GIT Version Control Cookbook.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.